package edu.whut.mall.admin.mapper;

import edu.whut.mall.admin.domain.ShiroSysUser;
import edu.whut.mall.admin.vo.UserVo;

import java.util.List;

/**
 * @program: d9lab-mall
 * @description: 自定义UserMapper
 * @author: Wayne
 * @create: 2020-04-23 14:17
 **/
public interface UserCustomMapper {
    List<UserVo> listUserVos();

    List<UserVo> listUserVosByMerchantId(Long merchantId);

    List<UserVo> listUserVosByInstitutionId(Long institutionId);

    int deleteUserByMerchantId(Long merchantId);

    ShiroSysUser getRedisCacheSysUserByUsername(String username);


}
